package com.xike.micromemberserver.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import java.io.Serializable;
import java.util.Date;

/**
 * @author hongbin
 * @date 2021-04-28 19:37
 * Description：
 */
@Builder
@Data
public class PageInfoMation implements Serializable {
    private int page;
    private int limit;
    private String bookName;
    private String bookType;
    private String uploader;
    private int bookId;
    private String keyword;
    @JsonFormat(pattern="yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date startTime;
    @JsonFormat(pattern="yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date endTime;
    @Tolerate
    public PageInfoMation(){}
}
